const mongoose = require('mongoose')

mongoose
     .connect('mongodb://week3:NtFappJXyZx5WiND@101.37.119.30:27017/week3')
     .then(() => console.log('MongoDB connected'))
     .catch(err => console.log(err))


module.exports = mongoose